import React from 'react'
import EventsBindFunComponent from './components/EventsBindFunComponent'
import CardComponent from './components/CardComponent'
export default function App() {
  let lessionList=[
    {
      cover:'http://old.woniuxy.com/page/image/courseIcon/major1/course26.jpg',
      title:'Java设计模式',
      teacher:'高鹏',
      browserNum:200

    },
    {
      cover:'http://old.woniuxy.com/page/image/courseIcon/major1/course2.jpg',
      title:'Java面向对象',
      teacher:'潘光华',
      browserNum:'50'
    }
  ]
  return (
    <div style={{display:'flex'}}>
      {/* <EventsBindFunComponent></EventsBindFunComponent> */}
      {
        lessionList.map((item,index)=><CardComponent key={index} {...item}/>)
      }
      <CardComponent/>
     
    </div>
  )
}
